﻿using System;
using System.Collections.Generic;
using System.Text;

namespace IndustrialCommunication.Common
{
    public sealed class ByteBlock
    {
        private byte[] _buffer;
        private long _position;
        private long _length;
        public int ReadInt32()
        {
            var value = BitConverter.ToInt32(_buffer, (int)_position);
            _position += 4;
            return value;
        }
        public void WriteInt32()
        {

        }
    }
}
